package com.xuchao.yao_jz.service.impl;

import com.xuchao.yao_jz.entity.Order;
import com.xuchao.yao_jz.mapper.OrderMapper;
import com.xuchao.yao_jz.service.IOrderService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-03-16
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements IOrderService {

    @Override
    public boolean addOrder(Order order) {
        return this.baseMapper.addOrder(order);
    }
}
